home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Pac Man.swf / scripts / DefineButton2_112 / BUTTONCONDACTION on(keyPress Right).as
Encoding:
Text File  |  2006-06-13  |  282 b   |  14 lines

  1. on(keyPress "<Right>"){
  2.    pmovenew = "right";
  3.    if(right eq "1" and re eq "1")
  4.    {
  5.       if(stop eq "0")
  6.       {
  7.          setProperty("/dot", _X, dotx + "10");
  8.          setProperty("/dot", _rotation, "0");
  9.          re = "0";
  10.          call("dotcall");
  11.       }
  12.    }
  13. }
  14.